﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using SSRSViewer.Core;

namespace SSRSViewer.Win
{
    partial class StringParameterUserControl : UserControl, IParameterEditor, IStringParameterUserControl
    {
        public StringParameterUserControl()
        {
            InitializeComponent();
        }

		public void Initialize() { }
		
		#region IParameterEditor Members

        public object EditValue
        {
            get { return txtAnswer.Text; }
            set { txtAnswer.Text = value.ToString(); }
        }
        public string Prompt
        {
            get { return lbPrompt.Text; }
            set { lbPrompt.Text = value; }
        }
        public RdlReportParameter EditingParameter { get; set; }

        #endregion
    }
}
